<div id="statistics">
<div class="dashboard">
	<div class="rounded_ul"><div class="rounded_ur">
	<h3><? __("DASHBOARD_HELP") ?></h3>
	<ul>
		<li><? echo $html -> link(__("DASHBOARD_HELP_ADD_ARTICLE",true),array('controller'=>'articles','action'=>'add')); ?></li>
		<li><? echo $html -> link(__("DASHBOARD_HELP_ADD_NEWS",true),array('controller'=>'news','action'=>'add')); ?></li>
		<li><? echo $html -> link(__("DASHBOARD_HELP_EDIT_USERS",true),array('controller'=>'users','action'=>'index')); ?></li>
		<li><? echo $html -> link(__("DASHBOARD_HELP_EDIT_COMMENTS",true),array('controller'=>'comments','action'=>'index')); ?></li>
	</ul>
	</div></div>
</div>

<div class="dashboard">
	<div class="rounded_ul"><div class="rounded_ur">
	<h3><? __("DASHBOARD_LAST_COMMENTS") ?></h3>
	<ul>
		<?
		foreach ($comments as $comment)
		{
			echo "<li>".$html -> link($comment["Comment"]["title"],"/articles/".$time -> format("Y/m/d",$comment["Article"]["created"])."/".$comment["Article"]["seo_link"]."/#comment_".$comment["Comment"]["id"],array("target"=>"new"))."</li>";
		}
		?>
	</ul>
	</div></div>
</div>

<div class="dashboard">
	<div class="rounded_ul"><div class="rounded_ur">
	<h3><? __("DASHBOARD_LAST_ARTICLES") ?></h3>
	<ul>
		<?
			foreach ($articles as $article)
			{
				echo "<li>".$html -> link($article["Article"]["title"],"/articles/".$time -> format("Y/m/d",$article["Article"]["created"])."/".$article["Article"]["seo_link"],array("target"=>"new"))."</li>";
			}
		?>
	</ul>
	</div></div>
</div>

<div class="dashboard">
	<div class="rounded_ul"><div class="rounded_ur">
	<h3><? __("DASHBOARD_LAST_NEWS") ?></h3>
	<ul>
		<?
		foreach ($news as $news)
		{
			echo "<li>".$html -> link($news["News"]["title"],"/news/".$time -> format("Y/m/d",$news["News"]["created"])."/".$news["News"]["seo_link"],array("target"=>"new"))."</li>";
		}
		?>
	</ul>
	</div></div>
</div>

<div class="dashboard">
<div class="rounded_ul"><div class="rounded_ur">
	<h3><? __("DASHBOARD_LAST_USERS") ?></h3>
	<ul>
		<?
		foreach ($users as $user)
		{
			echo "<li>".$html -> link($user["User"]["username"],array('controller'=>'users','action'=>'edit',$user["User"]["id"]))."</li>";
		}
		?>
	</ul>
	</div></div>
</div>
</div>